var mongoose = require('mongoose')

var Schema = mongoose.Schema;

var stuSchema = new Schema({  //约定表结构
  name:String,
  age:Number,
  score:Number,
  gender:String,
  skill:Array
})

var stuModel = mongoose.model('stuModel',stuSchema) //操作对应数据表的数据模型对象

module.exports = stuModel